﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="Login.aspx.cs" Inherits="Login" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" Runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Content" Runat="Server">
  <div id="frmLogin">
        <div>
            <div>
                <asp:Label ID="lblUser" runat="server">User</asp:Label></div>
            <div>
                <asp:TextBox ID="txtUser" runat="server" />
                <asp:RequiredFieldValidator ID="rqvUser" runat="server" ControlToValidate="txtUser"
                    ErrorMessage="Please enter user" ForeColor="Red"></asp:RequiredFieldValidator>
            </div>
            <div>
                <div>
                    <asp:Label ID="lblPassword" runat="server">Password</asp:Label></div>
                <div>
                    <asp:TextBox ID="txtPassword" runat="server" />
                    <asp:RequiredFieldValidator ID="rqvPass" runat="server" ControlToValidate="txtPassword"
                        ErrorMessage="Please enter pass" ForeColor="Red"></asp:RequiredFieldValidator>
                </div>
                <div>
                    <asp:Button ID="btnLogin" runat="server" Text="Login" OnClick="btnLogin_Click" />
                </div>
                <asp:Panel ID="pnlloginMessage" runat="server" Visible="false">
                    <div>
                        <asp:Label runat="server" ID="lblLoginMessage">Your user-name and password doesn't match any account!</asp:Label></div>
                </asp:Panel>
            </div>
        </div>
    </div>
</asp:Content>

